widget: Always set the type on css nodes
authorMatthias Clasen <mclasen@redhat.com>
Fri, 23 Oct 2015 01:00:12 +0000 (21:00 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 23 Oct 2015 01:01:06 +0000 (21:01 -0400)
commit203742b1886a56909b12ebfcfa92bc99f6bd0df5
tree3f1dab95cfca5017f637b12c54598b8d6dfa2bc3
parentd1a85fc9e49a0afa3cafc3aec98264d65a630f18
widget: Always set the type on css nodes

See the previous commit for why this is necessary.

Also make gtk_widget_class_set_css_name work by looking at
the correct class for the name.

Note for future reference: GTK_WIDGET_GET_CLASS() does not
work in the instance init function.
gtk/gtkwidget.c